package com.zm.demo.disruptor.log;

import com.lmax.disruptor.EventFactory;

import java.util.concurrent.ThreadFactory;

/**
 * @author z01140
 * @Package: com.zm.demo.disruptor.log
 * @Description:
 * @CreateDate 2023/8/29 14:58
 * @UpdateDate 2023/8/29 14:58
 */
public class LogEventFactory implements EventFactory<LogEvent> {
    @Override
    public LogEvent newInstance() {
        return new LogEvent(System.currentTimeMillis());
    }
}
